<!DOCTYPE html>
<html>
<head>
<style>
body {background:#1a81e6;}
a {text-decoration:none;} 
</style>
<title>ROSA</title>
<script type="text/javascript">
var nameweb='file:///usr/share/branding-configs/@configs_subdir@/index_';
var lang=(navigator.language||navigator.systemLanguage||navigator.userLanguage).substr(0, 2).toLowerCase();
var imagerandom=('https://abf.io/assets/logo-mini-ac3f572cd4ed315ae15db57ef820d481.png?'+Math.random());
var imagerandom1=('https://www.kernel.org/theme/images/logos/redhat-logo.png?'+Math.random());
var imagerandom2=('https://yastatic.net/iconostasis/_/5mdPq4V7ghRgzBvMkCaTzd2fjYg.png?'+Math.random());
function imgrandom() {var i=document.createElement('img');i.id='i';i.onload=actOnline;i.onerror=actOffline;i.src=imagerandom;}
function imgrandom1() {var i=document.createElement('img');i.id='i';i.onload=actOnline;i.onerror=actOffline;i.src=imagerandom1;}
function imgrandom2() {var i=document.createElement('img');i.id='i';i.onload=actOnline;i.onerror=actOffline;i.src=imagerandom2;}
function actOnline() {
if (lang=='ru') {nameweb='file:///usr/share/branding-configs/@configs_subdir@/index_ru.html';}
else {nameweb='file:///usr/share/branding-configs/@configs_subdir@/index_en.html';}
parent.location=nameweb;
return true;}
function actOffline() {
if (lang=='ru') {nameweb='file:///usr/share/branding-configs/@configs_subdir@/index_offline_ru.html';}
else {nameweb='file:///usr/share/branding-configs/@configs_subdir@/index_offline_en.html';}
parent.location = nameweb;
return true;}
</script>
</head>
<body onload="imgrandom()||imgrandom1()||imgrandom2()">
<script type="text/javascript">
setTimeout("actOffline()", 5000);
</script></body></html>
